package com.cskaoyan.vo.wx.nj;


import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class WXOrderVo {


        /**
         * data : [{"orderStatusText":"已付款","isGroupin":false,"orderSn":"20210413864294","actualPrice":37,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/ae6d41117717387b82dcaf1dfce0cd97.png","id":176,"goodsName":"魔兽世界 联盟 护腕 一只"}],"id":138,"handleOption":{"cancel":false,"delete":false,"pay":false,"comment":false,"confirm":false,"refund":true,"rebuy":false}},{"orderStatusText":"未付款","isGroupin":false,"orderSn":"20210413561305","actualPrice":4057,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/c5be2604c0e4186a4e7079feeb742cee.png","id":173,"goodsName":"云端沙发组合"},{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/ae6d41117717387b82dcaf1dfce0cd97.png","id":174,"goodsName":"魔兽世界 联盟 护腕 一只"},{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/203cb83d93606865e3ddde57b69b9e9a.png","id":175,"goodsName":"魔兽世界 部落 护腕 一只"}],"id":137,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false}},{"orderStatusText":"未付款","isGroupin":false,"orderSn":"20210413399784","actualPrice":4997,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/8ab2d3287af0cefa2cc539e40600621d.png","id":170,"goodsName":"轻奢纯棉刺绣水洗四件套"},{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/c5be2604c0e4186a4e7079feeb742cee.png","id":171,"goodsName":"云端沙发组合"},{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/fd6e78a397bd9e9804116a36f0270b0a.png","id":172,"goodsName":"魔兽世界-伊利丹颈枕眼罩套装"}],"id":136,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false}},{"orderStatusText":"未付款","isGroupin":false,"orderSn":"20210413361303","actualPrice":40087,"goodsList":[{"number":4,"picUrl":"http://182.92.235.201:8083/wx/storage/fetch/ghzc8jmzsysktwf14nq2.png","id":167,"goodsName":"测试添加"},{"number":2,"picUrl":"http://yanxuan.nosdn.127.net/ae6d41117717387b82dcaf1dfce0cd97.png","id":168,"goodsName":"魔兽世界 联盟 护腕 一只"},{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/203cb83d93606865e3ddde57b69b9e9a.png","id":169,"goodsName":"魔兽世界 部落 护腕 一只"}],"id":135,"handleOption":{"cancel":true,"delete":false,"pay":true,"comment":false,"confirm":false,"refund":false,"rebuy":false}},{"orderStatusText":"已发货","isGroupin":false,"orderSn":"20210413361796","actualPrice":899,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/8ab2d3287af0cefa2cc539e40600621d.png","id":166,"goodsName":"轻奢纯棉刺绣水洗四件套"}],"id":134,"handleOption":{"cancel":false,"delete":false,"pay":false,"comment":false,"confirm":true,"refund":false,"rebuy":false}},{"orderStatusText":"已取消(系统)","isGroupin":false,"orderSn":"20210413214715","actualPrice":899,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/8ab2d3287af0cefa2cc539e40600621d.png","id":165,"goodsName":"轻奢纯棉刺绣水洗四件套"}],"id":133,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":false,"confirm":false,"refund":false,"rebuy":false}},{"orderStatusText":"已取消(系统)","isGroupin":false,"orderSn":"20210413305037","actualPrice":899,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/8ab2d3287af0cefa2cc539e40600621d.png","id":164,"goodsName":"轻奢纯棉刺绣水洗四件套"}],"id":132,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":false,"confirm":false,"refund":false,"rebuy":false}},{"orderStatusText":"已取消(系统)","isGroupin":false,"orderSn":"20210413080987","actualPrice":37,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/203cb83d93606865e3ddde57b69b9e9a.png","id":163,"goodsName":"魔兽世界 部落 护腕 一只"}],"id":131,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":false,"confirm":false,"refund":false,"rebuy":false}},{"orderStatusText":"已取消(系统)","isGroupin":false,"orderSn":"20210413109529","actualPrice":3596,"goodsList":[{"number":4,"picUrl":"http://yanxuan.nosdn.127.net/8ab2d3287af0cefa2cc539e40600621d.png","id":162,"goodsName":"轻奢纯棉刺绣水洗四件套"}],"id":130,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":false,"confirm":false,"refund":false,"rebuy":false}},{"orderStatusText":"已取消(系统)","isGroupin":false,"orderSn":"20210413721525","actualPrice":899,"goodsList":[{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/8ab2d3287af0cefa2cc539e40600621d.png","id":161,"goodsName":"轻奢纯棉刺绣水洗四件套"}],"id":129,"handleOption":{"cancel":false,"delete":true,"pay":false,"comment":false,"confirm":false,"refund":false,"rebuy":false}}]
         * count : 26
         * totalPages : 3
         */

        private int count;
        private int totalPages;
        private List<DataBean> data;

        @NoArgsConstructor
        @Data
        public static class DataBean {
            /**
             * orderStatusText : 已付款
             * isGroupin : false
             * orderSn : 20210413864294
             * actualPrice : 37
             * goodsList : [{"number":1,"picUrl":"http://yanxuan.nosdn.127.net/ae6d41117717387b82dcaf1dfce0cd97.png","id":176,"goodsName":"魔兽世界 联盟 护腕 一只"}]
             * id : 138
             * handleOption : {"cancel":false,"delete":false,"pay":false,"comment":false,"confirm":false,"refund":true,"rebuy":false}
             */

            private String orderStatusText;
            private boolean isGroupin;
            private String orderSn;
            private int actualPrice;
            private int id;
            private HandleOptionBean handleOption;
            private List<GoodsListBean> goodsList;

            @NoArgsConstructor
            @Data
            public static class HandleOptionBean {
                /**
                 * cancel : false
                 * delete : false
                 * pay : false
                 * comment : false
                 * confirm : false
                 * refund : true
                 * rebuy : false
                 */

                private boolean cancel;
                private boolean delete;
                private boolean pay;
                private boolean comment;
                private boolean confirm;
                private boolean refund;
                private boolean rebuy;
            }

            @NoArgsConstructor
            @Data
            public static class GoodsListBean {
                /**
                 * number : 1
                 * picUrl : http://yanxuan.nosdn.127.net/ae6d41117717387b82dcaf1dfce0cd97.png
                 * id : 176
                 * goodsName : 魔兽世界 联盟 护腕 一只
                 */

                private int number;
                private String picUrl;
                private int id;
                private String goodsName;
            }
        }

}
